package com.course.server.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: Durian
 * @date: 2021/5/3 12:31
 */
@Data
public class TeacherDto {

    private String id;

    @NotBlank(message = "讲师名称不能为空")
    private String name;

    private String nickname;

    private String image;

    private String position;

    private String motto;

    private String intro;
}
